#!/usr/bin/env bash
set -euo pipefail

if [ `which npx` ]; then
    echo "test icloudpd..." &&
    npx ${@:3} &&
    touch $1
else
    echo "No npx available"
    touch $2
fi